package com.study.util;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;

/**
 * @Description:
 * @Author:l
 * @Date:2022.03.12
 */
public class LogUtils {

    public static void info(Logger log,String title){
        log.info("\n┍┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉"+title+"┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉" +
                 "\n┋没有参数" +
                 "\n┕┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉");
    }

    public static void info(Logger log,String title,Object params){

        log.info("\n┍┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉"+title+"┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉" +
                "\n┋params:{}" +
                "\n┕┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉",params);
    }
}
